import request from '@/utils/request'
/**
 * 查询-代码自定义数据
 * @param getCustomData
 */
export function getCustomData() {
  return request({
    url: `md/monopy/inspectTypes/getInspectTypeCustomData`,
    method: 'get'
  })
}
/**
 * 查询-精确查询检验类型数据(好多字段啊)
 * @param getInspectTypes
 */
export function getInspectTypes(data) {
  return request({
    url: `md/monopy/inspectTypes/select`,
    method: 'get',
    params: data
  })
}
/**
 * 保存-保存查询检验类型数据(好多字段啊)
 * @param saveInspectTypes
 */
export function saveInspectTypes(data) {
  return request({
    url: `md/monopy/inspectTypes/save`,
    method: 'post',
    data
  })
}
/**
 * 删除-删除查询检验类型数据
 * @param deleteInspectTypes
 */
export function deleteInspectTypes(data) {
  return request({
    url: `md/monopy/inspectTypes/delete`,
    method: 'get',
    params: data
  })
}
